package com.example.hosptialtag;

/**
 * @Author  liuyuhao&caiang
 * @Date  2022-2-21
 */

//redis-server.exe redis.windows.conf 启动redis命令

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

import java.io.IOException;

@SpringBootApplication
@EnableCaching
public class HosptialtagApplication {
    public static void main(String[] args) throws IOException {
        SpringApplication.run(HosptialtagApplication.class, args);
        String cmd = "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe http://localhost:8088/login";
        Runtime run = Runtime.getRuntime();
        try{
            run.exec(cmd);
        }catch (Exception e) {
            e.printStackTrace();
        }
    }
}
